/**
 * 
 */
package com.macasa.panel.entity.api;

import java.io.Serializable;

import javax.persistence.Version;

/**
 * Class AbstractModel
 * <P>
 * 
 * @param <TYPE>
 * @author Alexis Sorbier
 * @date 12 septembre 2011
 */
public abstract class AbstractModel<TYPE extends Serializable> implements IModel<TYPE> {

	/**
	 * The Constant serialVersionUID
	 */
	@Version
	private static final long	serialVersionUID	= 3900713087531887808L;

	/**
	 * {@inheritDoc}
	 * 
	 * @see com.macasa.valueObject.entitys.api.IModel#getId()
	 */
	@Override
	public abstract TYPE getId();

	/**
	 * {@inheritDoc}
	 * 
	 * @see com.macasa.valueObject.entitys.api.IModel#setId(Serializable)
	 */
	@Override
	public abstract void setId(TYPE id);

}
